//
//  MIneTableViewCell.m
//  PTravel
//
//  Created by dllo on 15/11/27.
//  Copyright © 2015年 李涵. All rights reserved.
//

#import "MIneTableViewCell.h"

@implementation MineTableViewCell

- (void)dealloc
{
    [_image release];
    [_label release];
    [super dealloc];
}

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        [self createSubViews];
    }
    return self;
}

- (void)createSubViews
{
    self.image = [[UIImageView alloc] initWithFrame:CGRectMake(30, self.contentView.frame.size.height-32, 32, 32)];
    [self.contentView addSubview:self.image];
    [_image release];
    
    self.label = [[UILabel alloc] initWithFrame:CGRectMake(80, self.contentView.frame.size.height-32, self.contentView.frame.size.width-64, 32)];
    self.label.textColor = [UIColor colorWithRed:0.342 green:0.707 blue:0.844 alpha:1.000];
    [self.contentView addSubview:self.label];
    [_label release];
}

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
